//
//  UILabel+Extension.swift
//  weibo
//
//  Created by nick on 15/9/23.
//  Copyright © 2015年 cn.nick. All rights reserved.
//

import UIKit

extension UILabel {
    
    convenience init (title: String, color: UIColor, fontSize: CGFloat) {
        self.init()
        textColor = color
        textAlignment = NSTextAlignment.Center
        numberOfLines = 0
        font = UIFont.systemFontOfSize(fontSize)
        text = title
    }
}
